<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:ui="http://java.sun.com/jsf/facelets" 
      xmlns:h="http://java.sun.com/jsf/html" 
      xmlns:f="http://java.sun.com/jsf/core">

    <body>
        <ui:composition>
            <h:form> 
                <ul id="modulesBar" title="menu de navegacion de módulos">
                    <li >
                        <h:commandLink actionListener="#{logged.clearMenu}"  action="/page/home/general/main.xhtml?faces-redirect=true"  value="#{systemLabel.field1}">
                            <f:setPropertyActionListener target="#{logged.menuFolder}" value="home"/>
                        </h:commandLink>
                    </li>
                    <li>
                        <h:commandLink actionListener="#{logged.clearMenu}" action="/page/person/general/main.xhtml?faces-redirect=true" value="#{systemLabel.field2}">
                            <f:setPropertyActionListener target="#{logged.menuFolder}" value="person"/>
                            <f:setPropertyActionListener target="#{logged.packageName}" value="person"/>
                            <f:setPropertyActionListener target="#{logged.moduleName}" value="general"/>
                            <f:setPropertyActionListener target="#{logged.moduleAccess}" value="person"/>
                        </h:commandLink>
                    </li>
                    <li>
                        <h:commandLink actionListener="#{logged.clearMenu}" action="/page/request/general/main.xhtml?faces-redirect=true" value="#{systemLabel.field3}">
                            <f:setPropertyActionListener target="#{logged.menuFolder}" value="request"/>
                            <f:setPropertyActionListener target="#{logged.packageName}" value="request"/>
                            <f:setPropertyActionListener target="#{logged.moduleName}" value="general"/>
                            <f:setPropertyActionListener target="#{logged.moduleAccess}" value="request"/>
                        </h:commandLink>
                    </li> 
                    <li>
                        <h:commandLink actionListener="#{logged.clearMenu}" action="/page/evaluate/general/main.xhtml?faces-redirect=true" value="#{systemLabel.field4}">
                            <f:setPropertyActionListener target="#{logged.menuFolder}" value="evaluate"/>
                            <f:setPropertyActionListener target="#{logged.packageName}" value="evaluate"/>
                            <f:setPropertyActionListener target="#{logged.moduleName}" value="general"/>
                            <f:setPropertyActionListener target="#{logged.moduleAccess}" value="evaluate"/>
                        </h:commandLink>
                    </li>
                    <li>
                        <h:commandLink actionListener="#{logged.clearMenu}" action="/page/supervision/general/main.xhtml?faces-redirect=true" value="#{systemLabel.field5}">
                            <f:setPropertyActionListener target="#{logged.menuFolder}" value="supervision"/>
                            <f:setPropertyActionListener target="#{logged.packageName}" value="supervision"/>
                            <f:setPropertyActionListener target="#{logged.moduleName}" value="general"/>
                            <f:setPropertyActionListener target="#{logged.moduleAccess}" value="supervision"/>
                        </h:commandLink>
                    </li> 
                </ul>
            </h:form>
        </ui:composition>
    </body>
</html>
